import React from 'react';
import ReactDOM from 'react-dom';

// 把store注入到整个组件的组件
import { Provider } from 'react-redux';
// 导入store实例
import { store } from './store/store';

import { App } from './App';
// import { App2 } from './App2'; // effect 清理函数举例
// import { App3 } from './App3'; // never 举例

ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
);
